package com.md.service;

import com.md.entity.myStudent;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Service;

import java.util.List;

public interface studentService {

    List<myStudent> selectAll();

    myStudent selectOne(int id);

    List<myStudent> selectByName(String name);

    boolean add(myStudent myStudent);

    boolean delete(int id);

    boolean change(myStudent myStudent);
}
